

export const hasPermission ={
    methods:{
        hasAuth(permission){
            return this.$store.getters.getPermissionList.indexOf(permission) > -1
        }
    }
}